<?php get_header();?>


<section id="holder">	
<div class="inner">
	<section class="content">
		<aside id="details">
			<div class="details-inner">
				<div id="details-content" style="height: 81px;">
				</div>
			</div>
		</aside><!--div#details-->
		
		<div id="listings">
		<ul class="listings-holder">
		<?php while ( have_posts() ) : the_post() ?>
			<li id="post-<?php the_ID();?>">
				<span class="list-img">
						<img alt="" src="<?php bloginfo('template_url');?>/css/images/img-thumbnail.png">
					</span>
				<div class="title"><h2><?php the_title(); ?></h2></div>
				<span class="user-name"><em>by</em><?php the_author(); ?></span>
				<?php if (get_comments_number()!=0): ?>
					<div class="comment-number"><?php comments_number('0','1','%'); ?></div>
				<?php endif?>
				<span class="post-date"><?php echo $post->post_date ?></span> 
			</li>
		<?php endwhile; ?>
		</ul>
		</div><!--end of div#listing-->
		<div id="js-data" style="display:none">
			<script type="application/json">
			<?php echo json_encode( array (
				'ajax_url' => get_bloginfo('url') . '/ajax-post/' ,
				)); 
			?>
			</script>
		</div>
	</section><!--end of section.content-->
</div><!--end of div#inner-->
</section><!--end of holder -->

<?php get_footer(); ?>